<div class="user-preferences" ng-controller="UserCtrl">
  <div class="form-view bar-layout" ng-class="{'mid-form': isMidForm()}">
  <div class="row-fluid">
    <div class="user-preferences-header span12">
      <h3 x-translate>Preferences</h3>
    </div>
  </div>
  <div class="row-fluid">
    <div ui-view-form x-handler="this" class="span12"></div>
  </div>
  <div class="row-fluid">
    <div class="user-preferences-footer span12">
        <button class="btn btn-primary" ng-click="onSave()" ng-disabled="!canSave()" x-translate>Save</button>
        <button class="btn" x-translate ng-click="onClose()">Close</button>
    </div>
  </div>
  </div>
</div>
